<template>
  <h1>{{ msg }}</h1>
  <button type="button" @click="countAdd">count is: {{ count }}</button>
</template>

<script setup>
import { ref } from 'vue'

defineProps({
  msg: String
})

const count = ref(0)
const countAdd = () => {
	count.value++
}
</script>

<style scoped>
a {
  color: #42b983;
}
</style>
